<%= render :partial => "progress" %>

<div class="span-18 last">
	<p style="color: green"><%= flash[:notice] %></p>
	<h2>Antrag einreichen</h2>
    <% if flash[:error] %>
      <div class="error"><%= flash[:error] %></div>
    <% end %>

		<%= error_messages_for :proposal %>

	<% form_for(@proposal, :url => { :controller => "submit", :action => "create"}) do |f| %>
	
	
	  <p>
	    <%= f.label :title, "Titel des Projekts" %><br />
	    <%= f.text_field :title %>
	  </p>
	  <p>
	    <%= f.label :email, 'Emailadresse' %><br />
	    <%= f.text_field :email %>
	  </p>
	
	  <p>
	    <%= f.label :description, 'Kurzbeschreibung' %><br />
	    <%= f.text_area :description %>
	  </p>
	  <p>
	    <%= f.submit 'Weiter' %>  | <%= link_to 'zurück', "/submit/start" %>
	  </p>
	<% end %>


</div>